home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 36 / Amiga Format CD36 (1999-01-22)(Future Publishing)(GB)[!][issue 1999-02].iso / -seriously_amiga- / graphics / gfx3d.library / asm / include / gfx3d.i < prev   
Text File  |  1998-12-12  |  1KB  |  82 lines

  1.     IFND    GFX3D_I
  2. GFX3D_I    SET    1
  3. **
  4. **    $Filename: libraries/gfx3d.i $
  5. **    $Release: 2.0 $
  6. **    $Revision: 33.1 $
  7. **    $Date: 98/12/03 $
  8. **
  9. **    Assembly include file for gfx3d.library.
  10. **
  11. **    (C) Copyright 1998 Gabriele Budelacci
  12. **        All Rights Reserved
  13. **
  14.  
  15.         IFND    EXEC_TYPES_I
  16.         include "exec/types.i"
  17.         ENDC
  18.  
  19.  
  20.  
  21.  
  22. typedef struct gfx3d_RGB
  23. {
  24.   unsigned char Red;
  25.   unsigned char Green;
  26.   unsigned char Blue;
  27.   char paddle;
  28. } gfx3d_RGB;
  29.  
  30.  
  31.  
  32. *
  33. * Global constants of the library.
  34. *
  35.  
  36. GFX_NULL    EQU    0
  37. GFX_NONE    EQU    0
  38. GFX_TRUE    EQU    1
  39. GFX_FALSE    EQU    0
  40.  
  41.  
  42.  
  43. *
  44. * Types of library's data structures.
  45. *
  46.  
  47. GFX_POLYGON        EQU    1
  48. GFX_FRAME        EQU    2
  49. GFX_ENVIRONMENT        EQU    3
  50. GFX_OBJECT        EQU    4
  51. GFX_CAMERA        EQU    5
  52. GFX_SHADINGPALETTE    EQU    6
  53.  
  54.  
  55.  
  56. *
  57. * Different shadings of the polygons.
  58. *
  59.  
  60. GFX_FILL_SHADING    EQU    0
  61. GFX_FLAT_SHADING    EQU    1
  62. GFX_DEPTH_SHADING    EQU    2
  63.  
  64. GFX_DEPTH_CUEING    EQU    GFX_DEPTH_SHADING
  65.  
  66.  
  67.  
  68. *
  69. * The olny one external data structure.
  70. *
  71.  
  72.     STRUCTURE gfx3d_RGB,0
  73.         UBYTE    gfx_rgb_Red
  74.         UBYTE    gfx_rgb_Green
  75.         UBYTE    gfx_rgb_Blue
  76.         BYTE    gfx_rgb_paddle
  77.     LABEL    gfx_rgb_SIZEOF
  78.  
  79.  
  80.  
  81.         ENDC    ; GFX3D_I
  82.